<extend name="Public/base" />

<block name="body">
    <div class="main-title" style="padding-bottom: 10px;" >
        <h2>扬州鲜生活电子退换处理</h2>
    </div>
    <div class="row" ng-controller="RejectCtrl">
        <form action="{:U('dealreject')}" method='post' class="form-horizontal" ng-init='init({$product})'>
                <div class="panel panel-primary">
                    <div class="panel-body" style="padding-bottom: 0px;padding-top: 0px;">
                        <div class="form-item cf">
                            <div class="controls">
                                <div class="data-table table-striped">
                                    <table>
                                        <thead>
                                        <tr>
                                            <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
                                            <th>客户</th>
                                            <th>商品名称(规格)</th>
                                            <th>退货数量</th>
                                            <th>退货时间</th>
                                            <th>操作人</th>
                                            <th>状态</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        <notempty name="_list">
                                            <volist name="_list" id="vo">
                                                <tr>
                                                    <td><input class="ids" type="checkbox" name="id[]" value="{$vo.id}" /></td>
                                                    <!--<td><a href="{:U('storageIn')}&batchNo={$vo['batchNo']}">{$vo.batchNo}</a></td>-->
                                                    <td>{$vo.buyer}</td>
                                                    <td>{$vo.pname}({$vo.spec})</td>
                                                    <td>{$vo.num}</td>
                                                    <td>{$vo.createdAt|time_format}</td>
                                                    <td>{$vo.updateUser|get_username}</td>

                                                </tr>
                                            </volist>
                                            <else/>
                                            <td colspan="9" class="text-center"> aOh! 暂时还没有内容! </td>
                                        </notempty>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            <div class="col-md-12 " >
                <button type="submit" class="btn confirm btn-danger" style="">保 存</button>
                <a  class="btn btn-success" id="fh" onclick="javascript:history.back(-1); return false;">返 回</a>
            </div>
        </form>
    </div>
</block>

<block name="script">
    <script type="text/javascript">
        highlight_subnav('{:U('reject/rejectlist')}');
    </script>
</block>
